﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreApp.Model
{

    [Serializable]
    public class consultation_msg_temp
    {
        public consultation_msg_temp()
        { }
        #region Model
        private int _id;
        private int _consultation_userinfoid;
        private int? _msg_from_id;
        private string _msg_from_name;
        private string _msg_from_headimage;
        private int? _msg_to_id;
        private string _msg_to_name;
        private string _msg_to_headimage;
        private string _msg_text;
        private string _msg_image;
        private string _msg_audio;
        private string _msg_video;
        private int? _msg_duration;
        private DateTime _msg_time;
        private int? _msg_status;
        private int? _order_id;
        private int? _msg_type;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// consultation_userinfo表ID
        /// </summary>
        public int consultation_userinfoid
        {
            set { _consultation_userinfoid = value; }
            get { return _consultation_userinfoid; }
        }
        /// <summary>
        /// 来自谁ID
        /// </summary>
        public int? msg_from_id
        {
            set { _msg_from_id = value; }
            get { return _msg_from_id; }
        }
        /// <summary>
        /// 来自谁 姓名
        /// </summary>
        public string msg_from_name
        {
            set { _msg_from_name = value; }
            get { return _msg_from_name; }
        }
        /// <summary>
        /// 来自图像
        /// </summary>
        public string msg_from_headimage
        {
            set { _msg_from_headimage = value; }
            get { return _msg_from_headimage; }
        }
        /// <summary>
        /// 发送人ID
        /// </summary>
        public int? msg_to_id
        {
            set { _msg_to_id = value; }
            get { return _msg_to_id; }
        }
        /// <summary>
        /// 发送人 姓名
        /// </summary>
        public string msg_to_name
        {
            set { _msg_to_name = value; }
            get { return _msg_to_name; }
        }
        /// <summary>
        /// 发送人图像
        /// </summary>
        public string msg_to_headimage
        {
            set { _msg_to_headimage = value; }
            get { return _msg_to_headimage; }
        }
        /// <summary>
        /// 发送文本 表情也是文本
        /// </summary>
        public string msg_text
        {
            set { _msg_text = value; }
            get { return _msg_text; }
        }
        /// <summary>
        /// 发送图片路径
        /// </summary>
        public string msg_image
        {
            set { _msg_image = value; }
            get { return _msg_image; }
        }
        /// <summary>
        /// 发送语音路径
        /// </summary>
        public string msg_audio
        {
            set { _msg_audio = value; }
            get { return _msg_audio; }
        }
        /// <summary>
        /// 发送视频路径
        /// </summary>
        public string msg_video
        {
            set { _msg_video = value; }
            get { return _msg_video; }
        }
        /// <summary>
        /// 音视频时长
        /// </summary>
        public int? msg_duration
        {
            set { _msg_duration = value; }
            get { return _msg_duration; }
        }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime msg_time
        {
            set { _msg_time = value; }
            get { return _msg_time; }
        }
        /// <summary>
        /// 消息状态 1正常 2撤回 
        /// </summary>
        public int? msg_status
        {
            set { _msg_status = value; }
            get { return _msg_status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? order_id
        {
            set { _order_id = value; }
            get { return _order_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? msg_type
        {
            set { _msg_type = value; }
            get { return _msg_type; }
        }

        public string formId { get; set; }
        #endregion Model



    }
}
